package com.gxa.service.mapper;

import com.gxa.common.base.RespResult;
import com.gxa.service.entity.ServiceSlabel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.service.vo.AllLabelVo;
import com.gxa.service.vo.ServiceLabelVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity com.gxa.service.entity.ServiceSlabel
 */
@Repository
public interface ServiceSlabelMapper extends BaseMapper<ServiceSlabel> {

    List<AllLabelVo> findAllLabel(Integer id);

    List<ServiceLabelVo> findLabelsById(Integer id);

    void addLable(@Param("id") Integer id, @Param("sid") Integer sid);
}




